package com.lh.mvc.base;

import java.util.List;
import java.util.Map;

import org.springframework.jdbc.core.JdbcTemplate;

import com.lh.mvc.spitter.Person;

public interface BaseDao {
		//public void updatePerson(Person person);
		public List<Map<String, Object>> searchPersons();
		//public Map<String, Object> searchPerson(Person person);

		public int addUser(Person person);
		public Map<String, Object> getUser(String id);

		public int updateUser(Person person);

		public boolean deleteUsers(String[] ids);
}
